using namespace std;

#include "Queue.h"
#include<iostream>
#include<stdlib.h>
#include<string>


File* Queue::getCurrentFile()
{
	return this->current;
}

File* Queue::getNextFile()
{
	if(this->current+1 != NULL)
		return this->current+1;
	return NULL;
}

File* Queue::getPrevFile()
{
	if(this->current-1 != NULL)
		return this->current-1;
	return NULL;
}

void Queue::addToEnd(File file)
{
	this->Files.push_back(file);
}

void Queue::removeEnd()
{
	this->Files.pop_back();
}